package cn.htsyb.synergy.security.service.impl;

import cn.htsyb.synergy.orm.jpa.repository.IJpaCommonRepository;
import cn.htsyb.synergy.orm.jpa.service.impl.AbsJpaCommonService;
import cn.htsyb.synergy.security.entity.SecurityUser;
import cn.htsyb.synergy.security.repository.ISecurityUserRepository;
import cn.htsyb.synergy.security.service.ISecurityUserService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
 * 用户 服务实现
 * codeMaker at 2020-07-14
 * @author lakeside hubin_yuan.410@hotmail.com
 * @since 2020-07-14
 */
@Slf4j(topic = "security")
@Transactional
@Service(value = "SecurityUserService" )
public class SecurityUserServiceImpl extends AbsJpaCommonService<SecurityUser,String>  implements ISecurityUserService {
    @Resource
    protected ISecurityUserRepository securityUserRepository;

    @Override
    public IJpaCommonRepository<SecurityUser, String> getRepository() {
        return securityUserRepository;
    }


}
